package mapper;

import com.root.health.bean.CorrelationInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CorrelationMapper {
    public void correlation (long parentid,long childrenid);
    //获取用户关联信息
    public List<CorrelationInfo> getparentidByid (long childrenid);
    //查询子女用户关联的父母id
    public List<CorrelationInfo> getchildrenidByid (long parentid);
    //查询父母用户关联的子女id
    public void corrDel(long corrid);
    //删除关联信息
}
